package com.ybkj.daijia.server.errand;

import java.io.Serializable;

/**
 * 跑腿临时订单
 *
 * @author Shine
 */
public class OrderTemp implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    private Long id;
    private Long passengerId;
    private String passengerName;
    private String passengerPhone;
    private Long companyId;
    private String companyName;
    private String channelName;
    private String startAddress;
    private Double startLat;
    private Double startLng;
    private String deliverAddress;
    private Double deliverLat;
    private Double deliverLng;
    private Long startTime;
    private Double startPrice;
    private Double mileagePrice;
    private Double travelTimePrice;
    private Double mileage;
    private Integer travelTime;
    private Double shouldPay;
    private Long orderTypeId;
    private Long couponId;
    private Double couponMoney;
    private String images;
    private String content;
    private String startDetailed;
    private String endDetailed;
    private String recipients;
    private String phone;
    private String weight;
    private String matter;
    private String buyNeeds;
    private Double goodsCash;
    private Double thanksCash;
    private String addServices;
    private String tips;
    private boolean treatment;// 预支付是否成功付款

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPassengerId() {
        return passengerId;
    }

    public void setPassengerId(Long passengerId) {
        this.passengerId = passengerId;
    }

    public String getPassengerName() {
        return passengerName;
    }

    public void setPassengerName(String passengerName) {
        this.passengerName = passengerName;
    }

    public String getPassengerPhone() {
        return passengerPhone;
    }

    public void setPassengerPhone(String passengerPhone) {
        this.passengerPhone = passengerPhone;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public String getStartAddress() {
        return startAddress;
    }

    public void setStartAddress(String startAddress) {
        this.startAddress = startAddress;
    }

    public Double getStartLat() {
        return startLat;
    }

    public void setStartLat(Double startLat) {
        this.startLat = startLat;
    }

    public Double getStartLng() {
        return startLng;
    }

    public void setStartLng(Double startLng) {
        this.startLng = startLng;
    }

    public String getDeliverAddress() {
        return deliverAddress;
    }

    public void setDeliverAddress(String deliverAddress) {
        this.deliverAddress = deliverAddress;
    }

    public Double getDeliverLat() {
        return deliverLat;
    }

    public void setDeliverLat(Double deliverLat) {
        this.deliverLat = deliverLat;
    }

    public Double getDeliverLng() {
        return deliverLng;
    }

    public void setDeliverLng(Double deliverLng) {
        this.deliverLng = deliverLng;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Double getStartPrice() {
        return startPrice;
    }

    public void setStartPrice(Double startPrice) {
        this.startPrice = startPrice;
    }

    public Double getMileagePrice() {
        return mileagePrice;
    }

    public void setMileagePrice(Double mileagePrice) {
        this.mileagePrice = mileagePrice;
    }

    public Double getTravelTimePrice() {
        return travelTimePrice;
    }

    public void setTravelTimePrice(Double travelTimePrice) {
        this.travelTimePrice = travelTimePrice;
    }

    public Double getMileage() {
        return mileage;
    }

    public void setMileage(Double mileage) {
        this.mileage = mileage;
    }

    public Integer getTravelTime() {
        return travelTime;
    }

    public void setTravelTime(Integer travelTime) {
        this.travelTime = travelTime;
    }

    public Double getShouldPay() {
        return shouldPay;
    }

    public void setShouldPay(Double shouldPay) {
        this.shouldPay = shouldPay;
    }

    public Long getOrderTypeId() {
        return orderTypeId;
    }

    public void setOrderTypeId(Long orderTypeId) {
        this.orderTypeId = orderTypeId;
    }

    public Long getCouponId() {
        return couponId;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getStartDetailed() {
        return startDetailed;
    }

    public void setStartDetailed(String startDetailed) {
        this.startDetailed = startDetailed;
    }

    public String getEndDetailed() {
        return endDetailed;
    }

    public void setEndDetailed(String endDetailed) {
        this.endDetailed = endDetailed;
    }

    public String getRecipients() {
        return recipients;
    }

    public void setRecipients(String recipients) {
        this.recipients = recipients;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getMatter() {
        return matter;
    }

    public void setMatter(String matter) {
        this.matter = matter;
    }

    public String getBuyNeeds() {
        return buyNeeds;
    }

    public void setBuyNeeds(String buyNeeds) {
        this.buyNeeds = buyNeeds;
    }

    public Double getGoodsCash() {
        return goodsCash;
    }

    public void setGoodsCash(Double goodsCash) {
        this.goodsCash = goodsCash;
    }

    public Double getThanksCash() {
        return thanksCash;
    }

    public void setThanksCash(Double thanksCash) {
        this.thanksCash = thanksCash;
    }

    public String getAddServices() {
        return addServices;
    }

    public void setAddServices(String addServices) {
        this.addServices = addServices;
    }

    public String getTips() {
        return tips;
    }

    public void setTips(String tips) {
        this.tips = tips;
    }

    public boolean isTreatment() {
        return treatment;
    }

    public void setTreatment(boolean treatment) {
        this.treatment = treatment;
    }

    public Double getCouponMoney() {
        if (null == couponMoney) {
            return 0d;
        }
        return couponMoney;
    }

    public void setCouponMoney(Double couponMoney) {
        this.couponMoney = couponMoney;
    }


}
